home *** CD-ROM | disk | FTP | other *** search
/ Mac Mania 1 / MacMania 1.toast / Educational / Misc. / Class Administrator / Helper / card_10387.txt < prev    next >
Text File  |  1990-07-06  |  4KB  |  169 lines

  1. -- card: 10387 from stack: in
  2. -- bmap block id: 11109
  3. -- flags: 0000
  4. -- background id: 9949
  5. -- name: Calculating percentages
  6.  
  7.  
  8. -- part 12 (field)
  9. -- low flags: 00
  10. -- high flags: 0000
  11. -- rect: left=454 top=37 right=52 bottom=485
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 0
  15. -- font id: 3
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: Total Points
  20.  
  21.  
  22. -- part 13 (field)
  23. -- low flags: 00
  24. -- high flags: 0000
  25. -- rect: left=53 top=60 right=72 bottom=82
  26. -- title width / last selected line: 0
  27. -- icon id / first selected line: 0 / 0
  28. -- text alignment: 0
  29. -- font id: 3
  30. -- text size: 10
  31. -- style flags: 0
  32. -- line height: 13
  33. -- part name: Period
  34.  
  35.  
  36. -- part 14 (field)
  37. -- low flags: 00
  38. -- high flags: 0000
  39. -- rect: left=111 top=60 right=72 bottom=198
  40. -- title width / last selected line: 0
  41. -- icon id / first selected line: 0 / 0
  42. -- text alignment: 0
  43. -- font id: 3
  44. -- text size: 10
  45. -- style flags: 0
  46. -- line height: 13
  47. -- part name: Class
  48.  
  49.  
  50. -- part 26 (button)
  51. -- low flags: 00
  52. -- high flags: 0000
  53. -- rect: left=18 top=0 right=22 bottom=45
  54. -- title width / last selected line: 0
  55. -- icon id / first selected line: 2162 / 2162
  56. -- text alignment: 1
  57. -- font id: 0
  58. -- text size: 12
  59. -- style flags: 0
  60. -- line height: 16
  61. -- part name: 
  62. ----- HyperTalk script -----
  63. on mouseUp
  64.   go to first card
  65. end mouseUp
  66.  
  67.  
  68.  
  69. -- part 27 (button)
  70. -- low flags: 00
  71. -- high flags: 2000
  72. -- rect: left=47 top=0 right=19 bottom=72
  73. -- title width / last selected line: 0
  74. -- icon id / first selected line: 15972 / 15972
  75. -- text alignment: 1
  76. -- font id: 0
  77. -- text size: 12
  78. -- style flags: 0
  79. -- line height: 16
  80. -- part name: Attendance
  81. ----- HyperTalk script -----
  82. On MouseUp
  83.   put char 1 of word 1 of field "name" into temp
  84.   put temp & word 2 of field "name" into studentname
  85.   put studentname & "Attendance" into studentname
  86.   go to card studentname
  87. end MouseUp
  88.  
  89.  
  90. -- part 28 (button)
  91. -- low flags: 00
  92. -- high flags: 0000
  93. -- rect: left=113 top=0 right=35 bottom=142
  94. -- title width / last selected line: 0
  95. -- icon id / first selected line: 1004 / 1004
  96. -- text alignment: 1
  97. -- font id: 0
  98. -- text size: 12
  99. -- style flags: 0
  100. -- line height: 16
  101. -- part name: Get Assignment
  102. ----- HyperTalk script -----
  103. on mouseUp
  104.   get selection
  105.   put it into cardname
  106.   go to card cardname of LessonPlan
  107. end mouseUp
  108.  
  109.  
  110.  
  111.  
  112. -- part 29 (field)
  113. -- low flags: 00
  114. -- high flags: 2004
  115. -- rect: left=134 top=78 right=236 bottom=396
  116. -- title width / last selected line: 0
  117. -- icon id / first selected line: 0 / 0
  118. -- text alignment: 0
  119. -- font id: 3
  120. -- text size: 12
  121. -- style flags: 0
  122. -- line height: 16
  123. -- part name: 
  124.  
  125.  
  126. -- part 31 (button)
  127. -- low flags: 00
  128. -- high flags: 8003
  129. -- rect: left=200 top=2 right=24 bottom=300
  130. -- title width / last selected line: 0
  131. -- icon id / first selected line: 0 / 0
  132. -- text alignment: 1
  133. -- font id: 0
  134. -- text size: 12
  135. -- style flags: 0
  136. -- line height: 16
  137. -- part name: Back to menu
  138. ----- HyperTalk script -----
  139. on mouseUp
  140.   go to first card
  141. end mouseUp
  142.  
  143.  
  144.  
  145. -- part contents for background part 58
  146. ----- text -----
  147.  
  148.  
  149.  
  150. -- part contents for background part 61
  151. ----- text -----
  152. 0
  153.  
  154. -- part contents for background part 62
  155. ----- text -----
  156. 0
  157.  
  158. -- part contents for card part 12
  159. ----- text -----
  160. 0
  161.  
  162. -- part contents for background part 56
  163. ----- text -----
  164.  
  165.  
  166.  
  167. -- part contents for card part 29
  168. ----- text -----
  169. To calculate a student's percentage, simply click on the blank space to the right of the word "Percentage" in the upper right hand corner of the student's Grade card.  The total points a student has earned, as well as the points possible, will be calculated and displayed along with the updated percentage.